package testsgraphicinterface;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class TestNewFontForJlabel 
{
	public static void main(String args [])
	{
		JLabel label = new JLabel();
		label.setFont(new Font("Showcard Gothic", 1, 20));
		label.setForeground(new Color(189, 0, 111));
		label.setText("Gothic");
		JPanel panel = new JPanel();
		panel.add(label);
		JFrame frame = new JFrame();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.add(panel);
		frame.pack();
		frame.setVisible(true);
	}

}
